package org.example.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.example.entity.BaseEntity;

@TableName("star")
@Data
public class Star extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;     //id
    private Long postId;    //所属帖子ID
    private Long userId;    //所属用户ID
}
